import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'home',
      // component: require('@/components/LandingPage').default
      component: require('@/page/home/home').default,
      // children: [
      //   {
      //     path: '/list',
      //     name: 'list',
      //     component: require('@/page/list').default
      //   },
      // ]
    },
    {
      path: '/childList',
      name: 'childList',
      component: require('@/page/childList').default
    },
    {
      path: '*',
      redirect: '/'
    }
  ]
})
